package top.xmj.service;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;
import top.xmj.domain.User;
import java.util.*;

/**
 * @author 冰咖啡
 * Date:2/12/2022 下午 11:00
 * Description:
 */
@Service
public interface UserService {
    /**
     * 获取所有用户
     * @return
     */
    public List<User> getUsers();

    public User queryByName(String name);

    public Map<String,Object> login(User user);
}
